package com.zkyc.framework.common.pojo;

import java.util.Date;
import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * (Column)实体类
 *
 * @author libingchuan
 * @since 2022-05-25 15:04:30
 */
@TableName("web_column")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Column implements Serializable {
    private static final long serialVersionUID = -94345747781109301L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 栏目名称
     */
    private String columnName;
    /**
     * 栏目名称
     */
    private String enName;
    /**
     * 模块id
     */
    private Integer moudleId;
    /**
     * 栏目内容
     */
    private String cloumnContent;
    /**
     * 1.标签类型 2.稿件类型 3.引用稿件
     */
    private Integer columnType;
    /**
     * 展示个数
     */
    private Integer columnCount;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreated;

    @TableField(exist = false)
    private List<Tag> tagList;

    @TableField(exist = false)
    private Integer category;

    private String isRouter;

    private String identify;
    /**
     * 排序
     */
    private String moudleOrder;

    private Integer isShow;

    /**
     * 逻辑删除
     */
    @TableLogic
    private Integer isDeleted;

    private String path;

    private String component;


}

